package com.echo.neocommunity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.echo.neocommunity.mapper.UserMapper;
import com.echo.neocommunity.pojo.User;

import java.util.Map;

public interface UserService extends IService<User> {
    public Map<String,Object> register(User user);
    public int activation(int userId,String userCode);
    public Map<String,Object> login(String username,String password,int expiredSeconds);
    public void loginOut(String ticket);
    public int updateUrlHeader(User user,String userHeaderUrl);
}
